import 'package:jm_flutter_common/jm_flutter_common.dart';
import 'package:url_launcher/url_launcher.dart';

import '../common.dart';

void openUrl(
  String url, {
  bool forceWebView = false,
}) async {
  if (!await launchUrl(Uri.parse(url))) {
    loge("Url", 'url错误:' + url);
  }
}
